package lk.mrt.cse.wihidum.processor;

import java.util.ArrayList;

/**
 * Created by IntelliJ IDEA.
 * User: Chami
 * Date: Nov 20, 2009
 * Time: 10:51:28 PM
 * To change this template use File | Settings | File Templates.
 */
public class PublicationMessage {
    private String action;
    private Long id;    
    private String eventSourceURL;
    private String topic;
    private String body;
    //Elements of BroekrPublicationElement
    private String brokerPublicationElementAction;
    private String brokerPublicationElementTo;
    private String brokerPublicationElementFrom;
    private String brokerPublicationElementStartStation;
    private ArrayList<String> brokerPublicationElementIntermediateStations;

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getEventSourceURL() {
        return eventSourceURL;
    }

    public void setEventSourceURL(String eventSourceURL) {
        this.eventSourceURL = eventSourceURL;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getBrokerPublicationElementAction() {
        return brokerPublicationElementAction;
    }

    public void setBrokerPublicationElementAction(String brokerPublicationElementAction) {
        this.brokerPublicationElementAction = brokerPublicationElementAction;
    }

    public String getBrokerPublicationElementTo() {
        return brokerPublicationElementTo;
    }

    public void setBrokerPublicationElementTo(String brokerPublicationElementTo) {
        this.brokerPublicationElementTo = brokerPublicationElementTo;
    }

    public String getBrokerPublicationElementFrom() {
        return brokerPublicationElementFrom;
    }

    public void setBrokerPublicationElementFrom(String brokerPublicationElementFrom) {
        this.brokerPublicationElementFrom = brokerPublicationElementFrom;
    }

    public String getBrokerPublicationElementStartStation() {
        return brokerPublicationElementStartStation;
    }

    public void setBrokerPublicationElementStartStation(String brokerPublicationElementStartStation) {
        this.brokerPublicationElementStartStation = brokerPublicationElementStartStation;
    }

    public ArrayList getBrokerPublicationElementIntermediateStations() {
        return brokerPublicationElementIntermediateStations;
    }

    public void setBrokerPublicationElementIntermediateStations(ArrayList<String> brokerPublicationElementIntermediateStations) {
        this.brokerPublicationElementIntermediateStations = brokerPublicationElementIntermediateStations;
    }
}
